import java.util.Scanner;

public class demo13 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请猜1-10中的一个数");
        int num1=sc.nextInt();

        int num2 = (int)(Math.random()*10)+1;
        if (num1==num2){
            System.out.println("正确");
        }else if (num1>num2){
            System.out.println("大了");
        }else if (num1<num2){
            System.out.println("小了");
        }
    }
}
